Monitoring of physical activity and sleep